package com.service.NeuralNetworks;

import com.entity.Jarvis.JarvisNeuralNetworks;
import com.entity.NeuralNetworks.NeuralNetworks;

import java.math.BigInteger;

/**
 * Created by wlc on 2018/5/30.
 */
public class NNParameterSettings extends JarvisNeuralNetworks {
    public static String ActivationFunction(String NeuralNetworksName,String neuronsId,String functionId){
        NeuralNetworks neuralNetworks = NeuralNetworksCollection.get(NeuralNetworksName);
        neuralNetworks.addActivation(new BigInteger(neuronsId),functionId);

        NeuralNetworksCollection.put(NeuralNetworksName,neuralNetworks);
        return "sucess";
    }
}
